package xyz.kail.demo.consul.client.session;

import com.google.common.net.HostAndPort;
import com.orbitz.consul.Consul;
import com.orbitz.consul.SessionClient;
import com.orbitz.consul.model.session.SessionInfo;
import xyz.kail.demo.consul.client.R;

import java.util.List;

/**
 * Created by kail on 2018/1/21.
 */
public class ConsulSessionMain {

    public static void main(String[] args) {
        Consul consul = Consul.builder().withHostAndPort(HostAndPort.fromParts(R.IP, R.PORT)).build();
        SessionClient sessionClient = consul.sessionClient();


    }

}
